package com.zst.microservicenodeone.message;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

public interface MessageSource {
    String TEST_INPUT = "testInput";
    String TEST_OUTPUT = "testOutput";

    @Input(TEST_INPUT)
    SubscribableChannel getChannel();

    @Output(TEST_OUTPUT)
    MessageChannel getOutputChannel();
}
